//
//  HJPayManager.h
//  Sneakers
//
//  Created by 胡光健 on 2017/12/14.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HJPayManager : NSObject
+(instancetype)manager;

-(void)zhifubaoWithPaysuccess:(void (^)(NSDictionary *dic))success failure:(void (^)(NSString *msg))failure;

@property(nonatomic,strong)NSString * body;// (非必填项)商品描述
@property(nonatomic,strong)NSString * subject;// 商品的标题/交易标题/订单标题/订单关键字等
@property(nonatomic,strong)NSString * out_trade_no;//订单ID
@property(nonatomic,assign)double total_amount;//商品价格
@property(nonatomic,strong)NSString * order_type;


-(void)wechatPayWithDic:(NSDictionary *)dic;// 微信支付


-(void)bankPayWithStartPay:(NSString *)payOrder model:(NSString *)model viewController:(UIViewController *)viewController;
@end
